package com.itheima.接口.接口入门_01;
//定义一个游泳接口
public interface Swim {
    void swimming();


}
class Demo{
    public static void main(String[] args) {

        Person person = new Person();
        person.swimming();
        Dog dog = new Dog();
        dog.swimming();
    }
}